package com.yukh.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yukh.dao.UserInfo;

@Service
public class UserManagerService extends BaseService{
	
	@Transactional
	public void saveUserInfo(UserInfo userInfo){
		baseDao.save("insertUserInfo", userInfo);
	}
	
	public List<UserInfo> selectUserInfoAll(String statementName){
		return baseDao.queryForList(statementName);
	}
}
